a11y: Redo child-added/-removed for toplevels
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 Oct 2020 19:26:12 +0000 (15:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 24 Oct 2020 19:26:12 +0000 (15:26 -0400)
commit2546b8866102951493a765cb4a8bdef266f8f4db
tree53936a311d6d29686ba4c3a539d8045f2c638bc1
parentbba6d604f02a6b42a894e83542f548bfafa937be
a11y: Redo child-added/-removed for toplevels

Instead of monitoring the list of toplevels, rely
on GtkWindow updating the HIDDEN state before windows
get removed. This is better, since we still have the
object available when it happens, so we can pass it
to the ATs.
gtk/a11y/gtkatspicontext.c
gtk/a11y/gtkatspiroot.c
gtk/a11y/gtkatspirootprivate.h